package cn.jinjimi.app.store.entity;

import java.io.Serializable;

/**
 * 通用数据的缓存
 *
 * ssoid 用户ID
 * data 为缓存数据
 * time 预留字段
 * 
 * Created by Jinsen on 16/1/20.
 */
public class CacheData implements Serializable {

    String id;
    String ssoid;
    String data;
    long time;

    public CacheData() {
    }

    public CacheData(String id) {
        this.id = id;
    }

    public CacheData(String id, String ssoid, String data, Long time) {
        this.id = id;
        this.ssoid = ssoid;
        this.data = data;
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSsoid() {
        return ssoid;
    }

    public void setSsoid(String ssoid) {
        this.ssoid = ssoid;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
